<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>403</title>

    <link href="__STATIC__/admin/css/bootstrap.min.css" rel="stylesheet">
    <link href="__STATIC__/admin/font-awesome/css/font-awesome.css" rel="stylesheet">

    <link href="__STATIC__/admin/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/admin/css/style.css" rel="stylesheet">

</head>

<body class="gray-bg">


<div class="middle-box text-center animated fadeInDown">
    <h1>403</h1>
    <h3 class="font-bold">没有权限，请联系管理员</h3>

    <div class="error-desc">
        页面自动跳转，等待时间：<b id="wait">3</b> s<br/>
        你也可以点击 跳转 回到首页 <br/><a href="/admin" id="href" class="btn btn-primary m-t">跳转</a>
    </div>
</div>

<!-- Mainly scripts -->
<script src="__STATIC__/admin/js/jquery-3.1.1.min.js"></script>
<script src="__STATIC__/admin/js/bootstrap.min.js"></script>

</body>
<script type="text/javascript">
    (function(){
        var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();
</script>
</html>